package com.tofine.smarthome.rest.model;

import org.parceler.Parcel;

/**
 * @author ddMax
 * @since 2016/5/28 23:08
 * 说明：设备命令实体类
 */
@Parcel
public class Command {

    String id;
    String command;

    public Command() {}

    public Command(String id, String command) {
        this.id = id;
        this.command = command;
    }

    public String getId() {
        return id;
    }

    public String getCommand() {
        return command;
    }

    @Override
    public String toString() {
        return "Command{" +
                "id='" + id + '\'' +
                ", command='" + command + '\'' +
                '}';
    }
}
